package com.liuyu.common.framework.client.model.project;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

/**
 * 前端项目代码
 *
 * @author: liuyu
 * @date: 2023/2/1 10:32
 * @version: 1
 */
@Data
public class ProjectFront {
    /**
     * 对应字段：group_project_code,备注：项目组代码;主要区分相同项目的不同合作商，采用相同的验重复规则
     */
   @Schema(description ="项目组代码;主要区分相同项目的不同合作商，采用相同的验重复规则")
    private String groupProjectCode;
    /**
     * 对应字段：project_code,备注：项目代码
     */
   @Schema(description ="项目代码")
    private String projectCode;
    /**
     * 对应字段：project_name,备注：项目名称
     */
   @Schema(description ="项目名称")
    private String projectName;
    /**
     * 对应字段：start_date,备注：开始时间
     */
   @Schema(description ="开始时间")
    private LocalDateTime startDate;
    /**
     * 对应字段：end_date,备注：结束时间
     */
   @Schema(description ="结束时间")
    private LocalDateTime endDate;
    /**
     * 对应字段：period_valid_type,备注：period_valid_type[新增]
     */
   @Schema(description ="period_valid_type[新增]")
    private Integer periodValidType;
    /**
     * 对应字段：period_duration,备注：period_duration[新增]
     */
   @Schema(description ="period_duration[新增]")
    private String periodDuration;
    /**
     * 对应字段：valid_start_date,备注：valid_start_date[新增]
     */
   @Schema(description ="valid_start_date[新增]")
    private LocalDateTime validStartDate;
    /**
     * 对应字段：valid_end_date,备注：valid_end_date[新增]
     */
   @Schema(description ="valid_end_date[新增]")
    private LocalDateTime validEndDate;

    /**
     * 对应字段：valid_end_date,备注：valid_end_date[新增]
     */
   @Schema(description ="前端扩展清单")
    private List<ProjectFrontExtend> projectExtendList;

   @Schema(description ="版本")
    private Integer version;
}
